#pragma once

#include"Complex.h"

class Epicycle
{
public:
    long double length;
    long double freq;
    long double sita;
    Complex ei;
    Epicycle()
    {
        length = 0;
        freq = 0;
        sita = 0;
    }

    void set(long double t)
    {
        ei.real=length*cosl(freq* t+sita);
        ei.imag=length*sinl(freq*t+sita);
    }
};
